package edu.szcu.vitaguard.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 就诊记录实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class VisitRecord {
    /**
     * 就诊ID
     */
    private Integer visitId;

    /**
     * 预约ID
     */
    private Integer regId;

    /**
     * 预约
     */
    private Registration registration;

    /**
     * 患者ID
     */
    private Integer patientId;

    /**
     * 患者
     */
    private Patient patient;

    /**
     * 医生ID
     */
    private Integer doctorId;

    /**
     * 医生
     */
    private Doctor doctor;

    /**
     * 就诊时间
     */
    private LocalDateTime visitDate;

    /**
     * 诊断结果
     */
    private String diagnosis;

    /**
     * 治疗方案
     */
    private String treatmentPlan;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
